<?php

      echo $this->doctype(Zend_View_Helper_Doctype::XHTML1_STRICT);
      echo '<html lang="de"><head>';
      
      
      //-- Default Dokumenten-Titel
      $this->headTitle()->prepend('SOMI Personal');
      $this->headTitle()->setSeparator(' - ');
      echo $this->headTitle();

      
      //-- Meta-Tags setzen
      $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8');
      $this->headMeta()->appendName('keywords', 'somi, arbeit, personal, frankfurt, solutions, it');
      echo $this->headMeta();

  
      // -- ICO einbinden
      $favicon=array('rel'=>'shortcut icon','href'=> $this->BaseUrl().'/public/favicon.ico','type'=>'image/x-icon');
      $this->headLink($favicon);
  

      //-- Stylesheet einbinden
      $this->headLink()->appendStylesheet($this->BaseUrl().'/public/css/constant.css');
      $this->headLink()->appendStylesheet($this->BaseUrl().'/public/css/template.css');
      echo $this->headLink();

      
  	  //-- javascript einbinden
  	  
  	  $this->headScript()->appendFile($this->BaseUrl().'/public/js/jquery-1.3.2.min.js');
  	  $this->headScript()->appendFile($this->BaseUrl().'/public/js/jquery.fadetransition.js');
  	  $this->headScript()->appendFile($this->BaseUrl().'/public/js/jquery.js');
  	  //$this->headScript()->appendFile($this->BaseUrl().'/public/js/jquery.anythingslider.js');
  	  
  	  //$this->headScript()->appendFile($this->BaseUrl().'/public/js/slider.js');
  	  $this->headScript()->appendFile($this->BaseUrl().'/public/js/menu.js');  
  	  $this->headScript()->appendFile($this->BaseUrl().'/public/js/cufon-yui.js');
  	  $this->headScript()->appendFile($this->BaseUrl().'/public/js/myriad_pro_400.font.js');
  	  $this->headScript()->appendFile($this->BaseUrl().'/public/js/myriad_pro_600.font.js');
  	  $this->headScript()->appendFile($this->BaseUrl().'/public/js/cufon-replace.js');
  	  echo $this->headScript();
 	  
  	  
  	  echo '<!--[if IE 6]><script type="text/javascript" src="'.$this->getHelper('BaseUrl')->BaseUrl().'/public/js/ie6_script_other.js'.'"></script><![endif]-->';
  	  
  	  
  	  //-- Dojo einbinden
  	  if ($this->dojo()->isEnabled()){
  	  	$this->dojo()->setLocalPath($this->BaseUrl()."/public/js/dojo/dojo.js");	
    	$this->dojo()->addStylesheetModule('dijit.themes.tundra');   
		echo $this->dojo();
		} 
		  
?>
<script type="text/javascript" >
function deutsch(){
	var pathname = window.location.pathname;
	var split= pathname.split("en/");
	var ergebnis= '/'+split[1];
	return ergebnis;
}
</script> 
</head>
<body class="tundra" id="body">
<div class="main"> 
<div class="row-logo clear">
<h1 id="logo">
<a href="<?php echo $this->url(array('module'=>'default', 'controller'=>'index','action'=>'index'),"default",true);?>" title="SOMI Solutions">
<img  title="SOMI Solutions" src="<?php echo $this->BaseUrl().'/public/images/c_name.jpg"' ?>"   alt="SOMI Solutions"  />
</a>
</h1>  

<div style="float:right;margin-top:50px;"> 
<div dojoType="dijit.form.ComboButton" style="width:90px;">
    <span>
        Language
    </span>
    <div dojoType="dijit.Menu" style="width:90px;">
        <div dojoType="dijit.MenuItem" onClick="window.location.href=deutsch()">
            German
        </div>
        <div dojoType="dijit.MenuItem" onClick="" >
            English
        </div>
    </div>
</div>
 </div>
</div> 
<!--Menu--> 
<?php echo $this->render('_menu.phtml',Zend_Registry::get('module'));?>

<!--content--> 
<?php      
//-- Hauptseite einbinden
echo '<div class="content" style="min-height: 380px;height:auto !important;height:380px; margin:10px 0px;">';
echo $this->layout()->content;
echo'</div>';
?>

 <!--  ************* Footer *************** -->  
<?php echo $this->render('_footer.phtml');?>  

</div>
</body>
</html>